From 8b3d6858ecbe5f958f45ac5d8e5da6fa5a18266d Mon Sep 17 00:00:00 2001 From: Julien Grall Date: Fri, 27 May 2016 17:06:21 +0100 Subject: [PATCH] xen/arm: Document the behavior of XENMAPSPACE_dev_mmio Currently, XENMAPSPACE_dev_mmio maps MMIO regions using one of the most restrictive memory attribute (Device-nGnRE). Signed-off-by: Julien Grall Acked-by: Stefano Stabellini Acked-by: Jan Beulich --- xen/include/public/memory.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xen/include/public/memory.h b/xen/include/public/memory.h index 5f7e0d2c54..29ec571d89 100644 --- a/xen/include/public/memory.h +++ b/xen/include/public/memory.h @@ -220,7 +220,11 @@ DEFINE_XEN_GUEST_HANDLE(xen_machphys_mapping_t); #define XENMAPSPACE_gmfn_range 3 /* GMFN range, XENMEM_add_to_physmap only. */ #define XENMAPSPACE_gmfn_foreign 4 /* GMFN from another dom, * XENMEM_add_to_physmap_batch only. */ -#define XENMAPSPACE_dev_mmio 5 /* device mmio region */ +#define XENMAPSPACE_dev_mmio 5 /* device mmio region + ARM only; the region is mapped in + Stage-2 using the memory attribute + "Device-nGnRE" (previously named + "Device" on ARMv7) */ /* ` } */ /* -- 2.30.2